﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.Practices.ServiceLocation;
using TimeTravel.IServices;

namespace TimeTravel.Controllers.System
{
    public partial class SystemController : BaseController
    {
        static readonly ISysUserService SysUserService = ServiceLocator.Current.GetInstance<ISysUserService>();
        public PartialViewResult SysUser()
        {
            var sysUserList = SysUserService.GetAll();
            return PartialView(SubPagePath + "_SysUser.cshtml", sysUserList);
        }

        public ActionResult AddSysUser()
        {
            return null;
        }

        public ActionResult UpdateSysUser()
        {
            return null;
        }

        public ActionResult DeleteSysUser()
        {
            return null;
        }

        public ActionResult CheckSysUser()
        {
            return null;
        }
    }
}
